package com.itheima;

public class ZuoYe08getmin {
    public static void main(String[] args) {
double num=getmin(3.14,5.6);
        System.out.println("最小值是："+num);
    }
    public static double getmin(double a,double b){
        double min=a<b?a:b;
        return min;
    }
}
